package com.cxria.springboottest.dto;

import com.cxria.springboottest.enums.StatusCodeEnum;
import com.cxria.springboottest.enums.StatusMsgEnum;

class Status {

	public static final String SUCCESS = "success";
	public static final String ERROR = "error";

	String status = SUCCESS;
	String statusCode = StatusCodeEnum.NORMAL
	String statusMsg = StatusMsgEnum.NORMAL
	Object result;

	Status() {
	}

	Status(Object result) {
		this.result = result;
	}

	Status(String status, StatusCodeEnum statusCode, def statusMsg) {
		this.status = status;
		this.statusCode = statusCode;
		this.statusMsg = statusMsg;
	}

}
